import request from "@/utils/request.js"

function getSahreList(data){
	return request({
		url: 'invite/users',
		method: 'get',
		data
	})
}

function userPromoter(data){
	return request({
		url: 'invite/userPromoter',
		method: 'get',
		data
	})
}

function turnCoupon(data){
	return request({
		url: 'invite/turnCoupon',
		method: 'get',
		data
	})
}
function withdraw(data){
	return request({
		url: 'invite/withdraw',
		method: 'get',
		data
	})
}

export default{
	getSahreList,
	userPromoter,
	turnCoupon,
	withdraw
}